<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie6" lang="zh-cn"><![endif]-->
<!--[if IE 7 ]><html class="ie7" lang="zh-cn"><![endif]-->
<!--[if IE 8 ]><html class="ie8" lang="zh-cn"><![endif]-->
<!--[if IE 9 ]><html class="ie9" lang="zh-cn"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html class="modern" lang="zh-cmn-Hans"><!--<![endif]-->
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <title>全民秀网</title>
    <meta name="title" content="全民秀网-美女视频-互动娱乐平台"/>
    <meta name="Keywords" content="全民秀,全民秀网,真人直播秀,生活秀,在线演艺,美女直播,视频聊天,视频交友,秀场,全民秀秀场 ,美女艺人,美女视频,视频直播,美女秀场,真人秀场,在线K歌,视频秀场,真人视频"/>
    <meta name="Description" content="全民秀网是大型在线互联网演艺视频互动娱乐平台，全网级高清真人视频直播平台。全民秀网通过对传统视频直播模式的升级换代，构建新型产业链生态，开创更多直播互动玩法，聚集更多艺人级美女资源，提供更多精彩综艺直播节目，给用户带来更丰富的娱乐体验，致力于打造成有全国性影响力的“互联网+娱乐”平台。"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
    <!-- moment -->
    <script src="//cdn.static.xiutv.com/jquery.plugin/moment/moment.min.js"></script>
    <script>
        var GetIEVer = {
            Init:function () {
                var agent = navigator.userAgent;
                var isIE8 = false;
                if(agent.indexOf("MSIE")>0){
                    if(agent.indexOf("MSIE 6.0")>0 ||
                        agent.indexOf("MSIE 7.0")>0 ||
                        agent.indexOf("MSIE 8.0")>0){
                        isIE8 = true;
                    }
                }
                return isIE8;
            }
        };
        var Log = {
            Out: function (label, str) {
                var url = String(window.document.location.href);
                if (url.indexOf('http://www.quanminxiu.tv/') != -1 && url.indexOf('?debug') == -1) {
                    return;
                }
                if (str) {
                    console.log(label, str);
                    return;
                }
                console.log(label);
            }
        };
        var _ThisPage = {
            Comom:{
                GetUrlParm:function (parmName) {
                    var name,value,i;
                    var str=location.href;
                    var num=str.indexOf("?");
                    if(num == -1){
                        return null;
                    }
                    str=str.substr(num+1);
                    var arrtmp=str.split("&");
                    for(i=0;i < arrtmp.length;i++){
                        var data = arrtmp[i];
                        num = data.indexOf("=");
                        if(num>0){
                            var a = data.split('=');
                            if(a[0] == parmName){
                                return a[1];
                            }
                        }
                    }
                    return null;
                }
            },
            Init:function () {

                _ThisPage.Load();

            },
            Load:function () {
                Log.Out("加载...");
                $.ajax({
                    url: '/ajaxs/rcommon.useranchorlisthot.get',
                    type: 'post',
                    dataType: 'json',
                    data: {
                        Start:0,
                        Length:5
                    },
                    success: function (data) {
                        Log.Out("完成...", data);
                        if(data.flag !== 0) return;
                        _ThisPage.Result(data);
                    }
                });
            },
            Result:function (data) {
                var arr = data.data;
                var html = '';
                var cid = _ThisPage.Comom.GetUrlParm('_cid') || '';
                arr.forEach(function (Value) {
                    var AnchorHotValue = (Value.Anchor_HotValue>10000) ? Math.round(Value.Anchor_HotValue/1000)/10+'万' : Value.Anchor_HotValue;
                    var href = (Value.Live) ? '//www.quanminxiu.tv/channel?_cid='+cid+'&_roomid='+Value.User_ID : '//www.quanminxiu.tv/channel?_cid='+cid;
                    //艺人

                    var time = Value.Live && Value.Live_StartTime ? moment().diff(moment(Value.Live_StartTime), "minutes") + "分钟前开播" :  Math.floor(1+Math.random()*59)+"分钟前开播";
                    var city = Value.Account_City　|| "";
                    html += '<li class="ads-itme">' +
                        '<a href="'+href+'" class="host-cover" target="_blank">' +
                        '<div class="img">' +
                        '<img src="//cdn.utils.xiutv.com/service/img/user/cover/'+Value.User_ID+'/200.200.jpg" alt="'+Value.NickName+'" class="cover">' +
                        '<i class="living"></i>' +
                        '</div>' +
                        '<div class="info">' +
                        '<p class="time">'+time+'</p>' +
                        '<p class="address">'+city+'</p>' +
                        '</div>' +
                        '<div class="bg">' +
                        '<i class="playing"></i>' +
                        '<p class="name">'+Value.NickName+'</p>' +
                        '</div>' +
                        '</a>' +
                        '</li>';
                });
                //更多
                html += '<li class="ads-itme">' +
                    '<a href="//www.quanminxiu.tv/channel?_cid='+cid+'" class="host-more" target="_blank">' +
                    '<img src="//cdn.static.xiutv.com/main/image/activity/ad/v1/ad-20161202-more.jpg" alt="更多内容">' +
                    '</a>' +
                    '</li>';
                $('.ads-list').append(html);
            }
        };
        var isIE8 = GetIEVer.Init();
        if(!isIE8){
            document.write('<script src="//cdn.static.xiutv.com/jquery/jquery-2.1.4.min.js"><\/script>');
        }

    </script>
</head>
<body>
<style>
    @charset "UTF-8";
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; }
    input { outline: none; }
    i, em { font-style: normal; }
    article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
    ol, ul { list-style: none; }
    blockquote, q { quotes: none; }
    blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
    table { border-collapse: collapse; border-spacing: 0; }
    h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; }
    body { font-size: 12px; font-family: "Microsoft Yahei"; -webkit-text-size-adjust: 100%; background-color: #f2f3f5; }
    img, select, input, label, textarea { vertical-align: middle; }
    img { border: none; }
    .clearfix { clear: both; zoom: 1; }
    .clearfix:after { display: block; overflow: hidden; clear: both; height: 0; visibility: hidden; content: "."; }
    a { text-decoration: none; cursor: pointer; color: #000; }
    a:hover { text-decoration: none; }
    .bc { display: block; margin-left: auto; margin-right: auto; }

    .xiutv-ads .ads-list { clear: both; zoom: 1; }
    .xiutv-ads .ads-list:before, .xiutv-ads .ads-list:after { display: block; overflow: hidden; clear: both; height: 0; visibility: hidden; content: "."; }
    .xiutv-ads { width: 570px; height: 100%; margin: 0 auto; }
    .xiutv-ads .xiutv-ads-content { background: #fff; display: block; font-family: 微软雅黑,宋体,sans-serif; font-size: 12px; line-height: 1.5; overflow: hidden; text-align: left; width: 570px; position: relative; height: 340px; padding-top: 1px; box-sizing: border-box; }
    .xiutv-ads .ads-list .ads-itme { width: 188px; height: 167px; overflow: hidden; float: left; margin: 1px; }
    .xiutv-ads .ads-list .host-cover { display: block; width: 100%; height: 100%; position: relative; }
    .xiutv-ads .ads-list .host-cover .img { background: #999; height: 100%; width: 100%; overflow: hidden; position: relative; display: block; }
    .xiutv-ads .ads-list .host-cover .img img { width: 100%; margin-top: -5%; display: block; }
    .xiutv-ads .ads-list .host-cover .img i.living { position: absolute; width: 48px; height: 22px; top: 4px; right: 4px; background: url("//cdn.static.xiutv.com/main/image/activity/ad/v1/ad-20161202.png") 0 0; }
    .xiutv-ads .ads-list .host-cover .info { position: absolute; width: 100%; height: 26px; line-height: 26px; bottom: 0; left: 0; right: 0; background-color: rgba(0, 0, 0, 0.3); background: url("//cdn.static.xiutv.com/main/image/activity/ad/v1/info-bg.png") center top no-repeat; color: #fff; font-size: 12px; }
    .xiutv-ads .ads-list .host-cover .info .time { padding-left: 24px; background: url("//cdn.static.xiutv.com/main/image/activity/ad/v1/ad-20161202.png") 6px -48px no-repeat; }
    .xiutv-ads .ads-list .host-cover .info .address { padding-left: 20px; background: url("//cdn.static.xiutv.com/main/image/activity/ad/v1/ad-20161202.png") 4px -24px no-repeat; position: absolute; right: 4px; bottom: 0; }
    .xiutv-ads .ads-list .host-cover .bg { width: 100%; height: 100%; position: absolute; top: 0; background-color: rgba(0, 0, 0, 0.7); color: #fff; opacity: 0; filter: alpha(opacity=0); transition: opacity 0.15s; }
    .xiutv-ads .ads-list .host-cover .bg .playing { width: 44px; height: 44px; position: absolute; left: 50%; top: 50%; margin-top: -22px; margin-left: -22px; background: url("//cdn.static.xiutv.com/main/image/activity/ad/v1/playing.png") center no-repeat; }
    .xiutv-ads .ads-list .host-cover .bg .name { width: 100%; text-align: center; color: #fff; position: absolute; bottom: 24px; font-size: 14px; }
    .xiutv-ads .ads-list .host-cover:hover .info { bottom: -100%; }
    .xiutv-ads .ads-list .host-cover:hover .bg { opacity: 1; filter: alpha(opacity=100); }
    .xiutv-ads .ads-list .host-more { display: block; width: 100%; height: 100%; position: relative; background-color: #fa5e5f; color: #fff; font-size: 14px; text-align: center; }
    .xiutv-ads .ads-list .host-more p { margin-bottom: 4px; }
    .xiutv-ads .ads-list .host-more p.first { padding-top: 34px; }
    .xiutv-ads .ads-list .host-more .moreto { margin-top: 52px; text-align: center; }
</style>
<div id="xiutv-ads" class="xiutv-ads" style="float:left;">
    <div class="xiutv-ads-content">
        <ul class="ads-list">
        <script>
            if(isIE8){
                document.write('不支持IE8.0和以下浏览器，请更换更高版本或Google、Firefox浏览器！');
            }else{
                _ThisPage.Init();
            }
        </script>
        </ul>
    </div>
</div>
</body>
</html>